package com.tianma.upload.uploadjartest.proxy.dynamicProxy;

/**
 * @author lgc
 * @createDate 2020/8/13 - 15:13
 */
public class Client {
    public static void main(String[] args){
        Host host = new Host();
        ProxyUtils<Rent> proxyUtils = new ProxyUtils(host);
        Rent rent = proxyUtils.getProxyObjct();
        String city = rent.lookHome("广州");
        System.out.println("city = " + city);
        System.out.println("**************************");
        rent.rent();
    }
}
